<html>
<head><meta charset="utf-8"><title>Using unstable feature in the reference · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html">Using unstable feature in the reference</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208423121"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208423121" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amjad Alsharafi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208423121">(Aug 29 2020 at 08:12)</a>:</h4>
<p>Hi, I'm working on stabilizing <code>feature(move_ref_pattern)</code></p>
<p>I'm working on documentation now (see <a href="https://github.com/rust-lang/rust/issues/76049">76049</a>), So in the reference I used code that explains this feature, but since this feature is not stable, I can't use it directly and need to add</p>
<div class="codehilite"><pre><span></span><code><span class="cp">#![feature(move_ref_pattern)]</span><span class="w"></span>
</code></pre></div>


<p>I guess its not ok to do it in the reference, what should I do?</p>



<a name="208424035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424035">(Aug 29 2020 at 08:37)</a>:</h4>
<p>you could document it in the unstable book.</p>



<a name="208424100"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424100" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amjad Alsharafi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424100">(Aug 29 2020 at 08:39)</a>:</h4>
<p>And then remove it in the stabilizing PR?</p>



<a name="208424146"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424146" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amjad Alsharafi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424146">(Aug 29 2020 at 08:40)</a>:</h4>
<p>yah, I'm working in the reference not the book</p>



<a name="208424155"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424155" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424155">(Aug 29 2020 at 08:40)</a>:</h4>
<p>often move it to reference after the stabilizing PR merged.</p>



<a name="208424209"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424209" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amjad Alsharafi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424209">(Aug 29 2020 at 08:42)</a>:</h4>
<p>Oh ok</p>



<a name="208424213"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424213" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424213">(Aug 29 2020 at 08:43)</a>:</h4>
<p>the procedure is documented here: <a href="https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs">https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs</a></p>



<a name="208424221"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424221" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424221">(Aug 29 2020 at 08:43)</a>:</h4>
<p>Doesn't have to strictly follow it, but we have establish process so</p>



<a name="208424277"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424277" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> isHavvy <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424277">(Aug 29 2020 at 08:45)</a>:</h4>
<p>The reference PR won't be merged until the feature is actually stabilized on nightly.</p>



<a name="208424333"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424333" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amjad Alsharafi <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424333">(Aug 29 2020 at 08:46)</a>:</h4>
<p>Ok, I'll be proceeding to next step. Do you know where to write the stabilization report?</p>



<a name="208424674"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Using%20unstable%20feature%20in%20the%20reference/near/208424674" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Using.20unstable.20feature.20in.20the.20reference.html#208424674">(Aug 29 2020 at 08:58)</a>:</h4>
<p>could be in the tracking issue of the feature or the stabilizing PR</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>